from wtforms import IntegerField
from wtforms.validators import DataRequired

from app.validates.base import BaseFrom


class GetPageLog(BaseFrom):
    page = IntegerField(validators=[DataRequired(message="page不允许为空")])
    page_size = IntegerField(validators=[DataRequired(message="page_size不允许为空")])
